package org.wyf.EveryPoint.crowd.mapper;

import org.apache.ibatis.annotations.Param;
import org.wyf.EveryPoint.crowd.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 用户订单表 Mapper
 *
 * @author wyf
 * @date 2021-04-09 16:56:33
 */
public interface OrderMapper extends BaseMapper<Order> {

    List<Order> getAllOrderInfo(@Param("userId") Long userId);

    List<Order> getOrderInfoByState(@Param("userId")Long userId,@Param("state") String state);
}
